home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / NetBSD / docs-netbsd / Mailinglist-Archive / 1994-08.gz / 1994-08 / 000189_owner-current-u…s.berkeley.edu_Thu Aug 4 18:58:27 1994.msg < prev    next >
Text File  |  1994-10-16  |  1KB  |  30 lines

  1. To: Matthieu.Herrb@laas.fr
  2. Cc: current-users@sun-lamp.cs.berkeley.edu
  3. Subject: Re: X troubles 
  4.              <9408041448.AA04465@elwood.laas.fr> 
  5. From: "John F. Woods" <jfw@ksr.com>
  6. Sender: owner-current-users@sun-lamp.cs.berkeley.edu
  7.  
  8. > > Now that I have XFree86 2.1.1 on my newly-updated 1.0B system (Aug 1 tars
  9. > > from ftp.iastate.edu), I can't get X to work.  The X server exits immediately;
  10. > > some fooling around with SuperProbe revealed that it is exiting when it calls
  11. > > ``ioctl(CONS_fd, X_CONSOLE_MODE_ON, ...)''.  I have 'options USERVER,XCONSOLE'
  12. > > in my kernel config, is there something else that I'm missing?  Why does
  13. > > ioctl hate me?  :-)
  14.  
  15. > start X with stdout and stderr redirected to a file 
  16. > (eg ``xinit >& xinit.log'') and look at the result. The answer is
  17. > probably obvious. 
  18.  
  19. The screen never blanks, so I get to see all the messages, and none of them
  20. seemed obvious:
  21.  
  22. (***) The usual stuff, then:
  23. X I/O: fatal I/O error 32 (broken pipe) on X server ":0.0"
  24. after 0 requests (0 known processed) with 0 events remaining
  25. The connection was probably broken by a server shutdown or KillClient.
  26.  
  27. To make what I said first more clear, SuperProbe is exiting (with status 0)
  28. when it calls ioctl(CONS_fd, X_CONSOLE_MODE_ON, ...), and I assume the X
  29. server itself is doing so, too.  I have printf()s in SuperProbe before and
  30. after the ioctl(), and the ones after the ioctl() don't print.